<?php
if(isset($error))
{
	$json["error"] = $error;
	$json["message"] =  __("The username and/or password is invalid");
	echo json_encode($json);
}else{
?>

  <div id="widget-actividadAmigosInicio" class="portlet-centro ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"><div class="portlet-header-centro ui-widget-header ui-corner-all" align="center">Entrar</div><div class="portlet-content">


<table>
	<tr>
		<td>Correo electr&oacute;nico <br>o nombre de usuario: </td><td><input type="text" class="ui-widget-content ui-corner-all" id="email"></td>
	</tr>
	<tr>
		<td>Contrase&ntilde;a: </td><td><input type="password" class="ui-widget-content ui-corner-all" id="pass"></td>
	</tr>
	<tr>
		<td colspan="2"><input type="checkbox" id="remember" class="ui-widget-content ui-corner-all">Recordar</td>
	</tr>
	<tr>
		<td align="center" colspan="2"><br><button>Entrar</button></td>
	</tr>
</table>
<input type="hidden" id="csrf" value="<?php
echo $form->getCSRFToken();
?>
">

</div></div>
<?php
}
?>
